﻿
Imports osi.interface.storage

Public Class map_accessor
    Inherits wrappered_accessor

    Public Shared ReadOnly [global] As map_accessor = Nothing

    Shared Sub New()
        [global] = New map_accessor()
    End Sub

    Public Shared Sub register(ByVal resolver As resolver)
        resolver.register(Of accessor_t)([global])
    End Sub

    Public Shared Sub register()
        register(resolver.global)
    End Sub

    Public Sub New(Optional ByVal settings As map_accessor_settings = Nothing)
        MyBase.New(locked(New map_sync_accessor(settings)))
    End Sub
End Class
